package com.qf.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 车辆类别
 */
@Data
@TableName(value = "car_sort")
public class CarSort {
    public static final String COL_CAR_SORT_ID = "car_sort_id";
    public static final String COL_CAR_SORT_NAME = "car_sort_name";
    public static final String COL_CAR_SORT_NUMBER = "car_sort_number";
    public static final String COL_OPERATOR = "operator";
    public static final String COL_CREATE_TIME = "create_time";
    public static final String COL_STATUS = "status";
    @TableId(value = "car_sort_id", type = IdType.INPUT)
    private Integer carSortId;
    /**
     * 车辆类别名称：1.轿车；2.SUV；3.MPV；4.货车；5.客运车
     */
    @TableField(value = "car_sort_name")
    private String carSortName;
    /**
     * 车辆类别编号
     */
    @TableField(value = "car_sort_number")
    private String carSortNumber;
    @TableField(value = "`operator`")
    private String operator;
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 0:删除；1.存在
     */
    @TableField(value = "`status`")
    private Integer status;
}